home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: MegaDisc
/
MegaDisc 41 (1994-09)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).zip
/
MegaDisc 41 (1994-09)(MegaDisc Digital Publishing)(AU)(Disk 2 of 2).adf
/
ARexx_&_HBook
/
MiniLinks
/
Script1
< prev
next >
Wrap
Text File
|
1994-08-09
|
3KB
|
60 lines
M i n i L i n k s by `John Collett` `Three gadgets`
`Arrow keys`
Click on any underlined chunk to see a note about it. `Colours`
This is another exploration of the idea of `hypertext`, but
different in several ways from others I have seen or read about.
The central idea of clickable chunks of text remains, with underlining
in a contrasting colour to indicate them. As you will see when you
click on any of them, that idea is applied a second time to show which
chunks have already been used.
Run through the `sample scripts` provided - four in this set, and two
in a separate 'Science' set. You can also examine those scripts via a
text editor, which saves me having to explain it all. Key characters
to look out for are the `grave accent`, the `character <`, and empty
lines between (never within) each of the note entries.
<
Resident in Hamilton, New Zealand.
Compulsive contributor to MegaDisc.
Loves receiving mail.
Click on the '->' gadget to go on to the next page in the
current numbered 'Script' series, on the '<-' to go to the
previous page, or on '??' to use another script series.
The left and right arrow keys have the same effect
as the '<-' and '->' gadgets. No keyboard equivalent
of the '??' gadget has been included.
I have set my eight colours in the program. They are easy to
change if your preferences in this matter differ from mine.
Highlighted chunks are active links to other places in the
text - good for exploration and general browsing, but may be
less efficient than linear reading for content learning.
Each page, with all its accompanying notes, uses a separate file.
The number which helps to identify it will automatically increment
when you click on the '->' gadget or the right arrow key. You are
currently using Script1. The next page will use Script2, and so on.
The character `, as on à. I CAN quote it on its own here,
in a note text, without invoking its main-text function
of marking a chunk of text as a candidate for underlining.
It marks the end of the main text, and the
beginning of the entries for each note.
call SetDrMd(HO,JAM1)
call pat(18,42,"Click on any underlined chunk to see a note about it.",2)
call SetDrMd(HO,JAM2)
call Rect(508,17,628,48,7,7)
call SetAPen(HO,6)
call Move(HO,115,15) ; call Draw(HO,278,15) ; call Draw(HO,278,29)
call Draw(HO,115,29) ; call Draw(HO,115,15) ; call SetApen(HO,2)
call Flood(HO,1,190,20) ; call SetApen(HO,1)
do i=1 to 7;call APen(i);cy=40+i*10;call RectFill(HO,600,cy,620,cy+10);end